package com.woniuxy02;

public class Test01 {
    public static void main(String[] args) {
        String str="abMcX5YZ12a36+-*";
        char[] chars = str.toCharArray();
        int big=0,small=0,num=0;
        for(char c:chars){
            if(c>='a' && c<='z'){
                small++;
            }else if(c>='A' && c<='Z'){
                big++;
            }else if(c>='0' && c<='9'){
                num++;
            }
        }
        System.out.println(small);
        System.out.println(big);
        System.out.println(num);
    }
}
